//
//  MotionData.h
//  CoreMotionDemo
//
//  Created by 曹敬贺 on 16/9/14.
//  Copyright © 2016年 北京无限点乐科技有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreMotion/CoreMotion.h>

@interface MotionData : NSObject

@property (nonatomic,strong) CMMotionManager *manager;

//加速计
- (void)startAccelerometer;
- (void)stopAccelerometer;
//陀螺仪
- (void)startGyro;
- (void)stopGyro;
//磁力计
- (void)startMagnetometer;
- (void)stopMagnetpmeter;

- (void)startDeviceMotion;
@end
